package com.woniuxy.repay.mapper;


import com.woniuxy.entity.RepaymentManage;
import com.woniuxy.entity.RepaymentProtection;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author NATHEN
 */
@Mapper
public interface RepaymentProtectionMapper {

    /**
     * 新增 资产保全
     * @param repaymentProtection
     */
    void insertByCondition(RepaymentProtection repaymentProtection);

    /**
     * 修改 资产保全
     * @param repaymentProtection
     */
    void updateByCondition(RepaymentProtection repaymentProtection);

    /**
     * 查询资产保全
     * @param repaymentProtection
     * @return
     */
    List<RepaymentProtection> selectByCondition(RepaymentProtection repaymentProtection);
}
